#! /usr/bin/python3

'''
1. 将整个模块(somemoudle)导入
import somemoudle
2. 从某个模块中导入某个函数
from somemoudle import somefunction
3. 从某个模块中导入多个函数
from somemoudle import firstfunc, secondfunc, thirdfunc
4. 将某个模块中的函数全部导入
from somemodule import *
'''

## example
## 导入sys模块

"""
import sys
print('============ python import mode ===============')
print('命令行参数为:')
for i in sys.argv:
    print(i)
print('\n python 路径为:', sys.path)
"""

## 导入sys模块中的argv , path 成员
from sys import  argv, path

print("===================== python from import ====================")
print('path:', path)




